
def func(n):
    if n<=1:
        return n
    else:
        return n * func(n-1)


if __name__=="__main__":

    print(func(5))